//
//  WKTableViewCellFrame.m
//  WKDemo
//
//  Created by wjm on 14-8-5.
//  Copyright (c) 2014年 com.app. All rights reserved.
//

#import "WKTableViewCellFrame.h"

@implementation WKTableViewCellFrame

- (void)setStatus:(WKResult *)status
{
    _status = status;
    // 1.计算顶部具体内容
    //[self TopViewFrame];
    WKTopTableViewCellFrame *TopFranme = [[WKTopTableViewCellFrame alloc]init];
    TopFranme.Topreqsult = status;
    self.TopFrame = TopFranme;

    CGFloat x = 0;
    CGFloat y = 0;
    CGFloat w = WKScreenW;
    CGFloat h = CGRectGetMaxY(TopFranme.frame);
    self.cellRect = CGRectMake(x, y, w, h);
    self.cellHeight = TopFranme.cellHeight;
}

@end
